﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="orderlistall.aspx.cs" Inherits="Ecreate.Web.systemanage.order.orderlistall" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
    <style type="text/css">
        th{font-size:12px;}
        td{font-size:12px;}
        ul{float:left;list-style:none;margin:0px;width:600px;height:30px;}
        .sep{float:left;list-style:none;margin:0px;clear:both;}
        .l{float:left;margin:0px;width:600px;height:30px;}
        .r{float:right;margin:0px;width:400px;height:30px;}
        .ll{float:left;margin:1px 1px 1px 1px;width:160px;font-size:12px;}
        .rr{float:left;margin:0px 0px 0px 0px;width:160px;text-align:left;}
        .rr input{width:154px;}
        .rr select{width:160px;}
        .rrd{float:left;margin:0px 0px 0px 0px;width:180px;height:20px;text-align:left;vertical-align:top;}
        .rrd input{width:154px;vertical-align:top;}
        .rrd img{background-image:url("../../pages/images/calendar.jpg");width:20px;height:20px;}
        .lll{float:left;margin:1px 1px 1px 1px;width:30px;text-align:center;font-size:12px;}
        .line{float:left;width:800px;margin:0px;height:30px;font-size:12px;clear:both;}
        .lab{float:left;padding:5px 0px 5px 0px;width:120px;text-align:right;font-size:12px;}
        .displaynone{display:none;z-index:1000;}
    </style>
    <script type="text/javascript">
        function showcalendar(id) {
            if (document.getElementById(id).style.display == "block")
                document.getElementById(id).style.display = "none";
            else
                document.getElementById(id).style.display = "block";
        }
  </script>
</head>
<body>
    <form id="form1" runat="server">
     <div class="l">            
        <ul class="l">
            <li class="ll"><asp:Button ID="btnQuery" runat="server" Text="查询" onclick="btnQuery_Click" /></li>
        </ul>
        <ul class="l">
            <li class="ll">省：</li>
            <li class="rr">
                <asp:DropDownList ID="ddlProvince" runat="server" 
                OnSelectedIndexChanged="ddlProvince_SelectedIndexChanged" AutoPostBack="True"></asp:DropDownList></li>
        </ul>
        <ul class="l">
            <li class="ll">市：</li>
            <li class="rr"><asp:DropDownList ID="ddlCity" runat="server" AutoPostBack="True" 
                    onselectedindexchanged="ddlCity_SelectedIndexChanged"></asp:DropDownList></li>
        </ul>
        <ul class="l">
            <li class="ll">业务员：</li>
            <li class="rr"><asp:DropDownList ID="ddlLevelTwoUser" runat="server"></asp:DropDownList></li>
        </ul>
        <ul class="l">
            <li class="ll">网络业务宣传员（QQ号）：</li>
            <li class="rr"><asp:TextBox ID="txtQQ" runat="server"></asp:TextBox></li>
        </ul>
        <ul class="l">
            <li class="ll">滚动器序号：</li>
            <li class="rr"><asp:TextBox ID="txtOrderID" runat="server"></asp:TextBox></li>
        </ul>
        <ul class="l">
            <li class="ll">销售商手机号码：</li>
            <li class="rr"><asp:TextBox ID="txtPhoneNumber" runat="server"></asp:TextBox></li>
        </ul>
        <ul class="l">
            <li class="ll">产品大类：</li>
            <li class="rr"><asp:DropDownList ID="ddlClass1" runat="server"></asp:DropDownList></li>
        </ul>
        <ul class="l">
            <li class="ll">录入日期：</li>
            <li class="rrd">
                <asp:TextBox ID="txtPayDate1" runat="server" ReadOnly="True"></asp:TextBox><img alt="" onclick="showcalendar('Calendar1');"/>
                <asp:Calendar ID="Calendar1" CssClass="displaynone" runat="server" 
                    OnSelectionChanged="Calendar1_SelectionChanged" ShowGridLines="True"></asp:Calendar>
            </li>
            <li class="lll">至</li>
            <li class="rrd">
                <asp:TextBox ID="txtPayDate2" runat="server" ReadOnly="True"></asp:TextBox><img alt="" onclick="showcalendar('Calendar2');"/>
                <asp:Calendar ID="Calendar2" CssClass="displaynone" runat="server" 
                    OnSelectionChanged="Calendar2_SelectionChanged" ShowGridLines="True"></asp:Calendar>
            </li>
        </ul>
        <ul class="l">
            <li class="ll">确认日期：</li>
            <li class="rrd">
                <asp:TextBox ID="txtCheckDate1" runat="server" ReadOnly="True"></asp:TextBox><img alt="" onclick="showcalendar('Calendar3');"/>
                <asp:Calendar ID="Calendar3" CssClass="displaynone" runat="server" 
                    OnSelectionChanged="Calendar3_SelectionChanged" ShowGridLines="True"></asp:Calendar>
            </li>
            <li class="lll">至</li>
            <li class="rrd">
                <asp:TextBox ID="txtCheckDate2" runat="server" ReadOnly="True"></asp:TextBox><img alt="" onclick="showcalendar('Calendar4');"/>
                <asp:Calendar ID="Calendar4" CssClass="displaynone" runat="server" 
                    OnSelectionChanged="Calendar4_SelectionChanged" ShowGridLines="True"></asp:Calendar>
            </li>
        </ul>
        <div class="line">
            <asp:GridView ID="gv" runat="server" EmptyDataText="没有合适的数据。" Visible="false" Width="1200px"
                AllowPaging="True" OnPageIndexChanging="gv_PageIndexChanging" OnRowCreated="gv_RowCreated">
                <Columns>
                <asp:HyperLinkField Text="查看单据" DataNavigateUrlFields="OrderID" 
                    DataNavigateUrlFormatString="./ordercrud.aspx?id={0}" />
                </Columns>
            </asp:GridView>
        </div>
     </div>

    </form>
</body>
</html>
